<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>

<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>nabuqqo</title>
</head>
<body onload='document.loginForm.j_username.focus()' style="background-color: #e0e6f1" >

<center>
<br>

<c:if test="${not empty param.login_error}">
    <h3>
        <span dir="ltr">${SPRING_SECURITY_LAST_EXCEPTION.message}</span>
    </h3>
    <br/>
</c:if>


<table frame="box" rules="none" style="border-color: rgb(103, 167, 227); border-width: 1px; border-collapse: collapse;">
      <tr> 
        <td valign="top" >
            <table width="100%" border="0" cellspacing="5" cellpadding="0">
              <tr valign="top"><td width="42%">
					<div style="background-image: none; background-color: rgb(103, 167, 227) ">
						&nbsp;<strong><spring:message code="messages.login.welcome"/>:</strong>
					</div>

					</td></tr>
                    
                    <tr><td align="left">
                    	<form name="loginForm" action="<c:url value='j_login'/>" method="POST">
							<table>
								<tr><td>					
						        	<spring:message code="messages.team.name"/>: <br/>
										<input type="text" name="j_username" value='<c:if test="${not empty param.login_error}"><c:out value="${SPRING_SECURITY_LAST_USERNAME}"/></c:if>' />
								</td></tr>
								<tr><td>
						        	<spring:message code="messages.team.password"/>:<br/>
										<input type="password" name="j_password" />
								</td></tr>
								<tr><td>
						        	<input type="checkbox" name="_spring_security_remember_me" checked="checked"/><spring:message code="messages.login.remember_me"/>
								</td></tr>
								<tr><td align="right">
									<input type="submit" value="<spring:message code="messages.login.enter"/>"/>
								</td></tr>
							</table>
                        </form>
                    </td>
              </tr>
            </table>
        </td>
    </tr>
</table>

</center>

</body>
</html>